package com.cmy.b_claculator.ui.main

import com.cmy.b_claculator.db.ClaculatorDatabase
import com.cmy.b_claculator.db.dao.WorkDateDao
import me.hgj.jetpackmvvm.base.appContext
import me.hgj.jetpackmvvm.base.viewmodel.BaseViewModel

class MainViewModel : BaseViewModel() {



    /**数据库对象*/
    private  var dao : WorkDateDao =  ClaculatorDatabase.getInstance(appContext).workDao

     val listDataState = dao.getAllWorkDate()

    fun getData(b: Boolean) {

    }
}